package com.network.service;

import com.network.pojo.Phone;

import java.util.List;

public interface PhoneService {

    /**
     * 通过uid查询某一个用户的手机号码
     * @param uid
     * @return
     */
    List<Phone> selectPhoneNumberByUId(int uid);


    /**
     * 插入手机信息
     * @param uid
     * @param phones
     */
    void insertPhoneNumber(int uid,List<Phone> phones);


    /**
     * 通过uid删除用户手机号
     * @param uid
     */
    void delete(int uid);

}
